using UnityEngine;
using System.Collections;

public class SoundPlayer : MonoBehaviour {
	
	public AudioClip[] Sound;
	
	//0 - 霊愲崝歆 霌膘灔頃熯霑岇潣 靻岆Μ
	//1 - 雮橃仠 霊愲崝歆 鞛№瀽霑岇潣 靻岆Μ
	//2 - 膦嬱潃 霊愲崝歆 鞛№瀽霑岇潣 靻岆Μ
	
	public void SoundPlay(int Sound_Number){
		
		GetComponent<AudioSource>().clip = Sound[Sound_Number];		
		GetComponent<AudioSource>().Play();
	}
}
